<script setup lang="ts">
    import Child from "@/components/Child.vue";
    import {ref} from "vue";
    const num = ref(100);
    const userName = ref("zhangsan");
</script>

<template>
    <h3>App|{{num}}</h3>
    <hr/>
    <Child v-model:num="num" v-model:userName="userName"/>
</template>

<style scoped>

</style>